import http from '../utils/http'
const departmentlist = params => http.get('/api/visit/department/list', params)  //列表
const departmentdel = params => http.get('/api/visit/department/del', params)  //删除
const departmentshow = params => http.get('/api/visit/department/show', params)  // 查询
const adddepartment = params => http.post('/api/visit/department/add', params)  //添加
const editdepartment = params => http.post('/api/visit/department/edit', params)  //添加



export {
    departmentlist,
    departmentdel,
    departmentshow,
    adddepartment,
    editdepartment
}